Skip to content

feat(c/driver/sqlite): ensure batch rows option can be retrieved - #4645

Open
lidavidm wants to merge 2 commits into
apache:mainfrom
lidavidm:gh-3456
Open

feat(c/driver/sqlite): ensure batch rows option can be retrieved#4645
lidavidm wants to merge 2 commits into
apache:mainfrom
lidavidm:gh-3456

Conversation

@lidavidm

@lidavidm lidavidm commented Aug 4, 2026

Copy link
Copy Markdown
Member

The getter existed, but the framework needed to be extended to also allow fetching it as a string, and tests were added.

Closes #3456.

Assisted-by: GPT-5.6 Sol codex@openai.com

The getter existed, but the framework needed to be extended to also
allow fetching it as a string, and tests were added.

Closes apache#3456.

Assisted-by: GPT-5.6 Sol <codex@openai.com>
@lidavidm
lidavidm marked this pull request as ready for review August 4, 2026 05:22
@lidavidm
lidavidm requested a review from paleolimbot as a code owner August 4, 2026 05:22
@lidavidm
lidavidm requested a review from amoeba August 4, 2026 06:27

@paleolimbot paleolimbot left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

Comment on lines +178 to +179
formatted = std::to_string(value);
string_value = formatted;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are there any locale concerns here (i.e., doubles getting exported as 123,456 instead of 123.456)? to_chars() might be better (although I think there was a thing where some gcc versions don't include it?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Python: stmt.get_option(adbc_driver_sqlite.StatementOptions.BATCH_ROWS.value) raises

2 participants